package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class Prog4 {
	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		
		double c;//섭씨온도
		double f;//화씨온도
	
		
		System.out.println("화씨온도를입력하시오.");
		f=input.nextDouble();
		
		c=(5/9.0)*(f-32);
		
		System.out.println("화씨온도"+f+"은 섭씨온도"+c+"입니다.");
	}

}
